package com.wash.shoes.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wash.shoes.domain.vo.OrderCommentVo;
import com.wash.shoes.entity.CustomerPo;
import com.wash.shoes.entity.OrderCommentPo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 订单的评价 Mapper 接口
 * </p>
 *
 * @author ljg
 * @since 2024-12-03
 */
public interface OrderCommentMapper extends BaseMapper<OrderCommentPo> {

    /**
     * 查询列表
     *
     * @param page
     * @param orderCommentPo
     * @return
     */
    List<OrderCommentVo> pageList(@Param("page") Page page, @Param("orderCommentPo") OrderCommentPo orderCommentPo);

    /**
     * 订单
     *
     * @param orderId
     * @return
     */
    OrderCommentPo getByOrderId(@Param("orderId") String orderId);
}
